import turtle

# 创建一个窗口和画笔
screen = turtle.Screen()
pen = turtle.Turtle()

# 绘制螺旋图案
pen.speed(10)
for i in range(50):
    pen.forward(i * 10)
    pen.right(144)

# 点击关闭窗口
screen.exitonclick()